package com.atguigu.gulimall.product.feign;

import com.atguigu.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * @author: jianPing
 * @date: 2022/3/1 18:03
 * @description:
 */
@FeignClient("gulimall-ware")
public interface WareServiceFeign {
    @PostMapping("/ware/waresku/getSkuStock")
    R getSkuStock(@RequestBody List<Long> skuIds);
}
